package org.cloudnote.service;

import org.cloudnote.util.NoteResult;

public interface NoteService {


    //查询回收站笔记
    NoteResult recycleNote(String userId);


    //move
    NoteResult moveNote(String noteId,String bookId);

    //预览笔记
    NoteResult loadShare(String shareId);
    //查询共享笔记
    NoteResult searchShare(String keyword);
    //笔记保存
    NoteResult updateNote(String noteTitle,String noteBody,String noteId);
    //创建笔记 - 标题
    NoteResult addNote(String bookId,String userId,String noteTitle);
    //加载笔记信息
    NoteResult loadNoteDetail(String id);
    //笔记加载
    NoteResult loadBookNotes(String bookId);
    //分享笔记
    NoteResult shareNote(String noteId);

}
